import 'package:school_assistant/generated/json/base/json_convert_content.dart';
import 'package:school_assistant/data/user_extra_entity.dart';

UserExtraEntity $UserExtraEntityFromJson(Map<String, dynamic> json) {
	final UserExtraEntity userExtraEntity = UserExtraEntity();
	final String? profile = jsonConvert.convert<String>(json['profile']);
	if (profile != null) {
		userExtraEntity.profile = profile;
	}
	final String? contact = jsonConvert.convert<String>(json['contact']);
	if (contact != null) {
		userExtraEntity.contact = contact;
	}
	return userExtraEntity;
}

Map<String, dynamic> $UserExtraEntityToJson(UserExtraEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['profile'] = entity.profile;
	data['contact'] = entity.contact;
	return data;
}